////////////////////////////////////////////////////////////////////
// File:	AnimationComponents.h
// Purpose: Defines all the structs related to an animation
//			encapsulated in the "AnimationComponent" namespace
// Author:	Jay Baird
////////////////////////////////////////////////////////////////////

#ifndef ANIMATIONCOMPONENTS_H
#define ANIMATIONCOMPONENTS_H

#include "MeshComponents.h"

namespace AnimationComponent {

	typedef struct AnimationKeyFrame
	{
		float keyTime;		// Time keyframe happens

		std::vector<MeshComponent::Frame> transforms;

		AnimationKeyFrame() : keyTime(0.0f) { }

		const AnimationKeyFrame& operator=(const AnimationKeyFrame& A)
		{
			keyTime = A.keyTime;
			transforms = A.transforms;
			return *this;
		}

	} KeyFrame;

};

#endif